const getters = {
  loading: (state) => state.app.loading,
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  tabActive: (state) => state.app.tabActive,
  menuList: (state) => state.app.menuList,
  token: (state) => state.user.token,
  phone: (state) => state.user.phone,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  roles: (state) => state.user.roles,
  visitedViews: (state) => state.tagsView.visitedViews,
  cachedViews: (state) => state.tagsView.cachedViews,
  permission_routes: (state) => state.permission.routes,
  hasAsyncRoutes: (state) => state.permission.hasAsyncRoutes,
  gropchecknum: (state) => state.tagsView.gropchecknum,
}
export default getters
